.admin-header {
  padding: 0;
  z-index: 2;
  //box-shadow: $shadow-down;
  position: relative;
  background: $base-bg-color;
  .logo {
    height: 70px;
    position: relative;
    line-height: 70px;
    padding-left: 24px;
    -webkit-transition: all .3s;
    transition: all .3s;
    overflow: hidden;

    h1 {
      color: $--menu-background-color;
      font-size: 20px;
      margin: 0 0 0 12px;
      display: inline-block;
      vertical-align: middle;
    }

    img {
      width: 32px;
      vertical-align: middle;
    }
  }

  .head-menu {
    height: 64px;
    line-height: 64px;
    vertical-align: middle;
    box-shadow: none;
    background: $--color-primary;
    border: none;
  }

  &.dark {
    background: $base-bg-color;
    color: white;
  }

  &.night {
    .head-menu {
      background: $base-bg-color;
    }
  }

  .admin-header-wide {
    padding-left: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    &.head.fixed {
      max-width: 1400px;
      margin: auto;
      padding-left: 0;
    }

    &.side {
      padding-right: 12px;
    }

    .logo {
      height: 70px;
      line-height: 70px;
      vertical-align: top;
      display: inline-block;
      padding: 0 12px 0 24px;
      cursor: pointer;
      font-size: 20px;
      color: inherit;

      &.pc {
        padding: 0 12px 0 0;
      }

      img {
        vertical-align: middle;
      }

      h1 {
        color: inherit;
        display: inline-block;
        font-size: 16px;
      }
    }
    .header-content {
      display: flex;
      flex-grow: 1;
      justify-content: flex-end;
    }
    .trigger {
      font-size: 20px;
      line-height: 64px;
      padding: 0 24px;
      cursor: pointer;
      transition: color .3s;

      &:hover {
        color: $--color-primary;
      }
    }

    .admin-header-menu {
      display: inline-block;
      .el-menu--horizontal {
        height: 40px;
      }
      /deep/ .el-menu-item {
        height: 40px;
        color: rgba(255, 255, 255, 0.8);
        line-height: 38px;
        border-radius: 12px;
        &+.el-menu-item {
          margin-left: 10px;
        }

        &.is-active, &:hover {
          background-color: rgba(0, 0, 0, 0.15);
          color: #fff;
        }
      }
    }

    .admin-header-right {
      float: right;
      display: flex;
      color: inherit;

      .header-item {
        color: inherit;
        padding: 0 12px;
        cursor: pointer;
        align-self: center;

        a {
          color: inherit;

          i {
            font-size: 16px;
          }
        }
      }
    }
  }
  .menu-toggle-icon {
    font-size: 20px;
    color: $--color-text-primary;
    margin-right: 10px;
    font-weight: 100;
  }
}
